package com.serviceb.feign;

/**
 * @Author linlx
 * @Date 2021/8/8 16:34
 * @Description
 **/

import com.sml.requset.ApiRequest;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "ServiceB")
public interface ServiceBFeign {

  @RequestMapping("/testLogB")
  String testLog(@RequestBody ApiRequest apiRequest);

  @RequestMapping("/testLogThirdB")
  String testLogThird(@RequestBody ApiRequest request);

}
